<%--
  Created by IntelliJ IDEA.
  User: luo
  Date: 2025/5/25
  Time: 19:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<jsp:include page="common/header.jsp">
    <jsp:param name="title" value="修改公告"/>
</jsp:include>
<%@ include file="common/adminMenu.jsp" %>

<div class="container">
  <div class="message">
    ${message}
  </div>
  <form action="update-announcement" method="post">
    <input type="hidden" name="announcementId" value="${announcement.announcementId}">
    <label>标题:</label>
    <input type="text" name="title" value="${announcement.title}">
    <br>
    <label>内容:</label>
    <textarea name="content"  rows="15" cols="65">${announcement.content}</textarea>
    <input type="submit" name="submit">
  </form>
</div>

<%@ include file="common/footer.jsp" %>

